package khleuven.mondzorg.db.googlespreadsheet;

import khleuven.mondzorg.db.DBException;

public interface Datasource {

	 /* TODO Extract connection specific details and move them towards central method
	 * TODO Decide on where to put the health checks. For now, I tend to trust the external source
	 * TODO Optimize: only download entries regarding the DestinationGroup + Language 
	 * TODO Minimize network traffic: download compressed JSON
	 */
	
	public void reloadAllEntriesFromSource() throws DBException;

	public void reloadAllIllustrationsFromSource() throws DBException;
}
